/**
 * 
 */
package pl.kaczanowscy.tomek.ipdl;

// TODO do I really need an interface for this ?
/**
 * GameResult holds information about the result of a game.
 * 
 * @author Tomek Kaczanowski
 * 
 */
public interface GameResult {

	/**
	 * Returns payoff won by player.
	 * 
	 * @param strategy player
	 * @return payoff won by player
	 */
	int getPayoff(Strategy strategy);

	/**
	 * Adds payoff to player's payoff.
	 * 
	 * @param strategy
	 *            player
	 * @param payoffToAdd
	 *            payoff to add
	 */
	void addPayoff(Strategy strategy, int payoffToAdd);
}
